toggle menu
My Neighbor Alice
dapp
switch theme
search in API
My Neighbor Alice
/
math
Module-level
declarations
Functions
Functions
clamp
Link copied to clipboard
function
clamp
(
x
:
integer
,
min
:
integer
,
max
:
integer
)
:
integer
exp
Link copied to clipboard
function
exp
(
x
:
decimal
)
:
decimal
integer_power
Link copied to clipboard
function
integer_power
(
base
:
decimal
,
exponent
:
integer
)
:
decimal
ln
Link copied to clipboard
function
ln
(
x
:
decimal
)
:
decimal
ln2
Link copied to clipboard
function
ln2
(
)
:
decimal
ln_near_one
Link copied to clipboard
function
ln_near_one
(
x
:
decimal
)
:
decimal
power
Link copied to clipboard
function
power
(
base
:
decimal
,
exponent
:
decimal
)
:
decimal